package com.example.mybatisdemo1.service;

import com.example.mybatisdemo1.mapper.AccountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountService {
    @Autowired
    private AccountMapper accountMapper;
    public int outAccount(String username){
        return accountMapper.outAccount(username);
    }

    public int inAccount(String username){
        return accountMapper.inAccount(username);
    }
}
